'use strict'

const rule = {
    peopleid: [
        { required: true, message: '用户id不能为空' },
        { type: 'string', message: '用户id字段需要是字符串' },
    ],
    size: [
        { required: true, message: '加载条数不能为空' },
        { type: 'number', message: '加载条数字段需要数字类型' },
    ],
    currentsize: [
        { required: true, message: '已加载条数不能为空' },
        { type: 'number', message: '已加载条数字段需要数字类型' },
    ]
};
module.exports = rule